package com.aos.erp.schools.enums.student.picture;

import com.baomidou.mybatisplus.core.enums.IEnum;

import java.io.Serializable;

/**
 * @Auther: chb
 * @Date: 2018/11/1 18:41
 * @Description: 资源状态
 */
public enum PictureStatus  implements IEnum {
    /**
     * 0：未采集（为空 0 1 都是未采集状态）
     2：已采集
     3：已导出
     4：已导入  高级驾校上传变为4 其他变为2
     5：传输、上传成功
     */
    notCollected(0,"未采集状态"),
    haveCollected(2,"已采集"),
    exported(3,"已导出"),
    alreadyImported(4,"已导入"),
    success(5,"上传成功");

    private int value;
    private String desc;

    @Override
    public Serializable getValue() {
        return this.value;
    }

    PictureStatus(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getDesc() {
        return this.desc;
    }

}
